"""
Copyright (C) 2014 Will Dignazio
"""

from distutils.core import setup, Extension

# For now, just the parallella board default SDK dir.
ehome = '/opt/adapteva/esdk'
einc = ehome + '/tools/host/include'
elib = ehome + '/tools/host/lib'

pyepiphany = Extension('epiphany',
                       include_dirs = ['include/', einc],
                       library_dirs = [elib],
                       libraries = ['e-hal'],
                       sources = ['epiphany.c', 
                                  'workgroup.c',
                                  'platform.c',
                                  'control.c'])

setup(name = 'PyEpiphany',
      version = '0.1',
      description = 'Parallella board module for Epiphany Core',
      author = 'William Dignazio',
      author_email = "wdignazio@gmail.com",
      ext_modules = [pyepiphany])
